package com.by.service.impl;

import com.by.bean.ProductParame;
import com.by.crud.BaseServiceImpl;
import com.by.mapper.ProductParameMapper;
import com.by.query.ProductParameQuery;
import com.by.query.ProductParameSave;
import com.by.service.ProductParameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :LYJ
 * @version : 1.0
 * @date : 2025/3/1 9:54
 * @desc :
 * @since : JDK17
 */
@Service
public class ProductParameServiceImpl extends BaseServiceImpl<ProductParame, ProductParameMapper> implements ProductParameService {
    @Autowired
    ProductParameMapper productParameMapper;

    @Override
    public List<ProductParame> queryByInfo(ProductParameQuery productParameQuery) {
        return productParameMapper.queryByInfo(productParameQuery);
    }

    @Override
    public Integer saveParamePicture(ProductParameSave productParameSave) {
        return productParameMapper.saveParamePicture(productParameSave);
    }
}
